﻿@model IEnumerable<FreeDAM.Domain.Entities.RenditionDefinition>
@{
    ViewBag.Title = "Rendition Definitions";
}

<div>
    <div>
        <h2>Rendition Definitions</h2>
    </div>
</div>
<div>
    <div>
        @Html.ActionLink("Create New »", "Create")
    </div>
</div>
<div>
    <div>
        <div>
            <div style="font-weight: bold; text-decoration: underline;">
                Name
            </div>
            <div style="font-weight: bold; text-decoration: underline;">
                To File Type
            </div>
            <div style="font-weight: bold; text-decoration: underline;">
                MimeType
            </div>
            <div>&nbsp;</div>
        </div>
        @foreach (FreeDAM.Domain.Entities.RenditionDefinition definition in Model)
        {
        <div>
            <div>
                @definition.Name
            </div>
            <div>
                @definition.ToFileType
            </div>
            <div>
                @definition.ToMimeType
            </div>
            <div>
                @Html.ActionLink("Edit", "Edit", new { id = @definition.Id })
            </div>
        </div>
        }
    </div>
</div>